package lab_14.com.acme.bankapp.domain.bank.Exceptions;

import lab_14.com.acme.bankapp.domain.bank.Account;

@SuppressWarnings("serial")
public class OverdraftLimitExceededException extends NotEnoughFundsException {

	public final Account account;
	public final double maxAmountToWithraw;

	public OverdraftLimitExceededException(Account account,
			double maxAmountToWithraw) {
		this.account = account;
		this.maxAmountToWithraw = maxAmountToWithraw;
	}

}
